<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单</title>
</head>
<body>
    <form>
        用户名: 
        <input type="text" name="userName" value="请输入用户名"/> <br />

        密 码 : 
        <input type="password" name="password" maxlength="6"/> <br />
        
        性别  
        男<input type="radio" name="sex" value="man" checked="checked"/> 
        女<input type="radio" name="sex" value="woman"/> <br />
        
        爱好 
        吃饭<input type="checkbox" name="hobby" value="吃饭"/> 
        睡觉<input type="checkbox" name="hobby"/> 打豆豆<input type="checkbox" name="hobby"/>
        
        <br />
        <input type="submit" value="注册"/> <input type="reset" />

        <br />
        <input type="button" value="获取验证码" />
        <input type="file" />
    </form>
</body>
</html>